package com.songlanyun.modules.opus.model.dto;

import com.songlanyun.common.drive.ValueObject;
import com.songlanyun.common.enums.OpusConstant;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class BbsDTO implements ValueObject {

    /**
     * 模型id
     */
    @NotNull(message = "浏览？点赞？分享？评论？")
    private Integer bbsType;
    /**
     * 模型类型
     */
    @NotNull(message = "作品？文章？商品？服务？其他？")
    private Integer modelType;

    /**
     * 模型id
     */
    @NotNull(message = "对应主键不能为空")
    private Long modelId;

    /**
     * 会员id
     */
    private Long userId;

    /**
     * 数量
     */
    private Integer num = 1;
}
